home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosaexec.zip / AUTOEXEC.NET < prev   
Text File  |  1990-11-04  |  16KB  |  511 lines

  1. # 11/05/90               A U T O E X E C . N E T
  2. #                       -----------------------
  3. #
  4. #   Modified by KD2LH appreciation to N2IGU
  5. #
  6. #   Examples use "ur1cal" for "your call"...
  7. #
  8. #   For use with the G1EMM varient of NOS.EXE
  9. #
  10. #  This is the configuration file for the NOS.EXE program...
  11. #  this file *MUST* be in the root directory ( \ ) of your current disk
  12. #  when NOS.EXE is run if you want NOS to use is as the default file.
  13. #
  14. #  Note: NOS.EXE ignores all lines beginning with a pound sign (#).
  15. #
  16. #    There are many commands which must be provided to NOS.EXE
  17. #    each time it is started to configure the program.  To keep
  18. #    from having to type them by hand each time, we put them in
  19. #    this file, which is read each time NOS starts up.  Commands
  20. #    in this configuration file are entered exactly as they would
  21. #    be typed at the keyboard in the program.
  22. #
  23. #    We've tried to give you intelligent default values for each of
  24. #    the commands below.  You need to read completely through this
  25. #    file, changing things as you go.  If you're not sure what to
  26. #    do with a command, try leaving it like it is!  Once you become
  27. #    familiar with the package, you'll no doubt find things to change.
  28. #    Once you're up and running and are all set, you can delete some or
  29. #    all of the comment lines (the ones that start with '#') to save
  30. #    disk space and make the program load faster, if you wish.
  31. #
  32. #-----------------------------------------------
  33. #
  34. #    Turn off the internal stopwatch functions as on the Archimedes they
  35. #    don't half hassle the pc emulators speaker driver code..and it BEEPS!
  36. #
  37. watch off
  38. #
  39. #-----------------------------------------------
  40. #
  41. #    Firstly, load up the memory database with all the remote nodes
  42. #    identifications. The default file to use is \domain.txt but this
  43. #    is very slow to access if the memory database is not invoked.
  44. #
  45. #domain load \domain.txt
  46. #
  47. #-----------------------------------------------
  48. #
  49. # The Domain timer backoff can be either linear or binary exponential.
  50. # Realisically, the linear backoff is vital for Amateur radio work.
  51. #
  52. #domain timertype linear
  53. #
  54. #-----------------------------------------------
  55. #
  56. # The Domain default suffix for host names without a '.' is '.ampr.org.'
  57. # and the domain.txt file has only names of the format:-
  58. # <host>.ampr. (CNAME) and <host>.ampr.org. (A) in it.
  59. #
  60. domain suffix ampr.org.
  61. #
  62. #-----------------------------------------------
  63. #
  64. # This entry tells NOS.EXE the name of your machine. Your hostname will
  65. # show up in mail headers, etc.
  66. #
  67. hostname ur1cal.ampr.org
  68. #
  69. #-----------------------------------------------
  70. #
  71. # The next line does the same thing that "MYCALL" did in your AX.25
  72. # TNC... it identifies the callsign you're using on the air in AX.25
  73. # packets. It also defines the callsign of your net/rom node!!!
  74. #
  75. ax25 mycall ur1cal-8
  76. #
  77. #-----------------------------------------------
  78. #
  79. # This one contains your IP address. This can either be in the form
  80. # [44.131.x.y] where x and y are your alloted number values or it can
  81. # use the domain file information and will then take a symbolic node
  82. # name and convert it internally to your IP address. The [] are required
  83. # if you wish to give an absolute address.
  84. #
  85. ip address [44.68.64.156]
  86. #
  87. #------------------------------------------------
  88. #
  89. # The attach command tells NOS.EXE about the interfaces in your computer
  90. # that you will be using for TCP/IP.  These can include normal IBM-type
  91. # serial "comm ports", Ethernet controllers, or dedicated packet cards.
  92. #
  93. # The syntax is:
  94. # attach <hw type> <I/O address> <vector> <mode> <label> <bufsize>
  95. #        <mtu> [<speed>] [IP addr]
  96. #
  97. # COM1: / 9600 baud KISS connection for use with KISS TNC's.
  98. #
  99. #attach asy 0x3f8 4 ax25 tnc 2048 256 2400
  100. #attach packet 0x7f tnc 2048 256
  101. #attach packet 0x7e tnd 2048 256
  102. #
  103. # COM1: / 4800 baud KISS connection for use with KISS TNC's.
  104. #
  105. #attach asy 0x3f8 4 ax25 tnc 2048 256 4800
  106. #
  107. # COM1: / 2400 baud KISS connection for use with KISS TNC's.
  108. #
  109. attach asy 0x3f8 4 ax25 tnc 2048 512 2400
  110. #
  111. # COM2: / 2400 baud KISS connection for use with KISS TNC's.
  112. #
  113. #attach asy 0x2f8 3 ax25 tnc2 2048 256 2400
  114. #
  115. # COM1: / 9600 baud slip link to another computer
  116. #
  117. #attach asy 0x3f8 4 slip sl0 8092 576 9600
  118. #
  119. #-------------------------------------------------
  120. #
  121. # The KISS computer-to-tnc protocol includes a "command packet" that
  122. # you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
  123. # SLOTTIME and DUPLEX.  Since most KISS implementations include good
  124. # default values, you shouldn't have to use this feature.
  125. # All TNC's were not created equal, so you *MUST* read the docs for the
  126. # KISS implementation for your TNC before twiddling!
  127. #
  128. # The format is:  param <label> <hex value> <hex value> <hex value> ...
  129. #
  130. param tnc 1 40
  131. param tnc 2 63
  132. param tnc 3 10
  133. param tnc 4 10
  134. param tnc 5 0
  135. #
  136. #-------------------------------------------------
  137. #
  138. # The following entry tells the program to route all packets out
  139. # the interface labeled 'tnc' in the attach command.
  140. #
  141. route add default tnc
  142. #
  143. #-------------------------------------------------
  144. #
  145. # Time To Live is the maximum number of hops a packet can take
  146. # before it is thrown away. This command prevents an inadvertent
  147. # infinite loop from occuring with packets in the network.
  148. #
  149. ip ttl 10
  150. #
  151. #-------------------------------------------------
  152. #
  153. # The Maximum Segment Size is the largest single transmission that
  154. # you will send. An mss of 216 corresponds to the mtu of 256 set
  155. # up in the attach command above, overhead bytes considered.
  156. #
  157. tcp mss 192
  158. #
  159. #-------------------------------------------------
  160. #
  161. # Initial Retry TimeouT (irtt) is the time between retries before
  162. # the corrected timers start to function in units of seconds.
  163. # The default is 65 seconds but may be adjusted as required.
  164. #
  165. tcp irtt 65000
  166. #
  167. #-------------------------------------------------
  168. #
  169. # The TCP timer backoff can be either linear or binary exponential.
  170. # Realisically, the linear backoff is vital for Amateur radio work.
  171. #
  172. tcp timertype linear
  173. #
  174. #-------------------------------------------------
  175. #
  176. # The Window parameter establishes the maximum number of bytes
  177. # that may be outstanding before your system expects an ack.
  178. # If window is twice as big as mss, for example, there will be two
  179. # active packets on the channel at any given time... large values of
  180. # window provide improved throughput on full-duplex links, but are a
  181. # problem on the air.  Keep  mss <= window <= 2*mss if you're on the air.
  182. #
  183. #
  184. tcp window 768
  185. #
  186. #-------------------------------------------------
  187. #
  188. # This entry will open 'logfile' in the \spool directory and will
  189. # record the server activity of your system.  If you don't want a log,
  190. # comment out this line... if you do, make sure you have a \spool
  191. # directory!
  192. #
  193. log \spool\logfile
  194. #
  195. #-------------------------------------------------
  196. #
  197. # Each of the servers (services you will provide) must be turned
  198. # on before they will be active. The following entries turn all
  199. # of them on. To turn any function off use the command 'stop' after
  200. # NOS gets fired up, or just comment out the line here.
  201. #
  202. start ax25
  203. start netrom
  204. start echo
  205. start discard
  206. start telnet
  207. start ttylink
  208. start ftp
  209. start smtp
  210. start finger
  211. start remote
  212. start rip
  213. #
  214. #--------------------------------------------------
  215. #
  216. # Cause the SMTP server to look for new mail to send every 30 minutes
  217. #
  218. smtp timer 1800
  219. #
  220. #--------------------------------------------------
  221. #
  222. # Set the remote server password field
  223. #
  224. remote -s 328959
  225. #
  226. #--------------------------------------------------
  227. #
  228. # Cause the SMTP server to send undeliverable mail to gateway for forwarding
  229. # Replace "ur1gat" with your gateway station, where mail defaults to going.
  230. #
  231. smtp gateway ur1gat
  232. #
  233. #--------------------------------------------------
  234. #
  235. # Cause the SMTP server to queue mail for SMTP mailer or ext. mailer
  236. #
  237. smtp mode route
  238. #
  239. #--------------------------------------------------
  240. #
  241. # These values come into play when you are operating in the
  242. # AX.25 mode, along with your ax25 mycall entry above.
  243. #
  244. # If you want to operate as a digipeater (for those poor souls
  245. # not operating TCP/IP!), change 'off' to 'on'.
  246. #
  247. ax25 digipeat on
  248. #
  249. #-------------------------------------------------
  250. #
  251. # Use AX25 protocol version 2 as most people have now migrated from 1.
  252. #
  253. ax25 version 2
  254. #
  255. #---------------------------------------------------
  256. #
  257. # Maxframe sets the max number of frames allowed to remain
  258. # unacknowledged. Cannot be greater than 7. Low values are best.
  259. #
  260. ax25 maxframe 2
  261. #
  262. #---------------------------------------------------
  263. #
  264. # Maximum size of packet which will have its data resent with the POLL
  265. # bit set on retry, else, just RR (p) instead of I (p)
  266. #
  267. ax25 pthresh 128
  268. #
  269. #---------------------------------------------------
  270. #
  271. # Paclen limits the size of I=fields.
  272. #
  273. #ax25 paclen 256
  274. ax25 paclen 512
  275. #
  276. #---------------------------------------------------
  277. #
  278. # Retry limits the number of unsuccessful retransmissions.
  279. #
  280. ax25 retry 5
  281. #
  282. #---------------------------------------------------
  283. #
  284. # Set up the AX25 initial round-trip timer in milliseconds.
  285. # The old T1 value is now taken to be 2*irtt and is variable.
  286. #
  287. ax25 irtt 2500
  288. #
  289. #---------------------------------------------------
  290. #
  291. # Set up the AX25 Link Keep-Alive timer T3 in milli-seconds.
  292. #
  293. #ax25 t3 65000
  294. ax25 t3 300000
  295. #
  296. #---------------------------------------------------
  297. #
  298. # Set up the AX25 Link Redundancy timer T4 in seconds.
  299. #
  300. ax25 t4 300
  301. #
  302. #-------------------------------------------------
  303. #
  304. # The AX25 timer backoff can be either linear or binary exponential.
  305. # Realisically, the linear backoff is vital for Amateur radio work.
  306. #
  307. ax25 timertype linear
  308. #
  309. #---------------------------------------------------
  310. #
  311. # ax25 window sets the number of bytes that can be pending on an
  312. # AX.25 receive queue before sending RNRs back to sender.
  313. #
  314. ax25 window 2048
  315. #
  316. #---------------------------------------------------
  317. #
  318. # Start tracing the previously defined `tnc' line with 111 which is
  319. # trace all input and output packets and dump in ASCII only.
  320. # Value pattern is:-
  321. #       B:D:I:O
  322. #       | | | |__Output packets 0 or 1          1 = trace / 0 = don't
  323. #       | | |____Input packets  0 or 1          1 = trace / 0 = don't
  324. #       | |______Dump level     0 or 1 or 2     0=headers / 1=ascii / 2=hex
  325. #       |________Broadcasts     0 or 1          0 = trace / 1 = don't
  326. #
  327. #
  328. trace tnc 0000
  329. #
  330. #---------------------------------------------------
  331. #
  332. # Set up the NET/ROM pseudo device so that NOS knows that netrom is used.
  333. #
  334. attach netrom
  335. #
  336. #---------------------------------------------------
  337. #
  338. # Tell NET/ROM what line to use and what we are called, ie. our alias.
  339. # Also define a default quality factor for incoming NET/ROM broadcasts.
  340. #
  341. # Replace "ipcal" with your netrom node identity. Usually "ip" with your
  342. # call's suffix letters.
  343. #
  344. netrom interface tnc ipcal 115
  345. #
  346. #---------------------------------------------------
  347. #
  348. # Set NET/ROM broadcast reception to only specifically named nodes.
  349. #
  350. netrom nodefilter mode accept
  351. #
  352. #---------------------------------------------------
  353. #
  354. # Set the NET/ROM inter-broadcast time to 30 minutes
  355. #
  356. netrom nodetimer 1800
  357. #
  358. #---------------------------------------------------
  359. #
  360. # Set the NET/ROM obsolesence timer to 30 minutes. Each time it fires
  361. # we will derate the nodes in our tables. A non-refreshed node broadcast
  362. # will vanish in about 3 hours then.
  363. #
  364. netrom obsotimer 1800
  365. #
  366. #---------------------------------------------------
  367. #
  368. # Set NET/ROM mode to switch rather then endpoint. We will tell the world
  369. # about the nodes we can hear and not just ourself.
  370. #
  371. netrom verbose yes
  372. #
  373. #---------------------------------------------------
  374. #
  375. # Set NET/ROM minimum acceptable incoming broadcast level before we will
  376. # build the nodes into our tables. Keeps out longshots!
  377. #
  378. netrom minquality 75
  379. #
  380. #---------------------------------------------------
  381. #
  382. # NET/ROM Time To Live is the maximum number of hops a packet can take
  383. # before it is thrown away. This command prevents an inadvertent
  384. # infinite loop from occuring with packets in the netrom network.
  385. #
  386. netrom ttl 15
  387. #
  388. #---------------------------------------------------
  389. #
  390. # Set NET/ROM acknowledge timer value in milliseconds
  391. #
  392. #netrom acktime 3000
  393. netrom acktime 8000
  394. #
  395. #---------------------------------------------------
  396. #
  397. # Set NET/ROM maximum number of bytes on the netrom queues (I think!)
  398. #
  399. netrom qlimit 1024
  400. #
  401. #---------------------------------------------------
  402. #
  403. # Set NET/ROM maximum number of retries before disconnecting
  404. #
  405. netrom retries 5
  406. #
  407. #---------------------------------------------------
  408. #
  409. # Set NET/ROM initial round-trip timer in milli-seconds.
  410. #
  411. netrom irtt 60000
  412. #
  413. #---------------------------------------------------
  414. #
  415. # Set NET/ROM promiscuous acceptance of broadcasts at minimum quality.
  416. #
  417. netrom promiscuous y
  418. #
  419. #-------------------------------------------------
  420. #
  421. # The NET/ROM timer backoff can be either linear or binary exponential.
  422. # Realisically, the linear backoff is vital for Amateur radio work.
  423. #
  424. netrom timertype linear
  425. #
  426. #---------------------------------------------------
  427. #
  428. # Let the world know that we are alive and kicking. Three broadcasts
  429. # just to make sure that most people will be able to catch one of them!
  430. #
  431. netrom bcnodes tnc
  432. #
  433. #---------------------------------------------------
  434. #
  435. # Use I frames for ax25 traffic instead of UI frames.
  436. #
  437. mode tnc data
  438. #
  439. #---------------------------------------------------
  440. #
  441. # Use I frames for NET/ROM traffic instead of UI frames. (Is there a choice?)
  442. #
  443. #mode netrom vc
  444. mode netrom data
  445. #
  446. #---------------------------------------------------
  447. #
  448. # Initial state of the system is that the is no manual operator present.
  449. #
  450. attended no
  451. #
  452. #---------------------------------------------------
  453. #
  454. # Bring in all the variable parameters relating to the outside world.
  455. #
  456. # First bring in all the remote NET/ROM nodes for filtering.
  457. #
  458. source a:\nodes.fil
  459. #
  460. # Next bring in all the remote Tcp/Ip nodes ARP definitions
  461. #
  462. source a:\nodes.arp
  463. #
  464. # Lastly bring in all the remote Tcp/Ip nodes route definitions.
  465. # Note that this is automatically developed with current G1EMM versions.
  466. # Entries in this node route table are not desirable. Let the network
  467. # Build up itself...
  468. #
  469. source a:\nodes.rou
  470. #
  471. #-----------------------------------------------
  472. #
  473. #    Just in case we don't have a host name entry in our domain file
  474. #    let's ask our domain server at ur1dom to try and resolve unknowns.
  475. #    This is currently VERY dangerous as it may stall the command
  476. #    interpreter or worse still - the timer process!! => dead in the H2O!
  477. #
  478. # domain addserver ur1dom
  479. #
  480. #---------------------------------------------------
  481. #
  482. # Define the RIP environment.
  483. #
  484.   rip merge on
  485.   rip add 44.68.0.0 1800 1
  486.   rip request ur1rip
  487. #
  488. # Start SMTP Tracing
  489. smtp trace 1
  490. #
  491. # Wake up the SMTP process to start shipping any outstanding mail.
  492. #
  493. smtp kick
  494. #
  495. #---------------------------------------------------
  496. #
  497. # Set up our "Message Of The Day". Displayed in mailbox and chat modes.
  498. #
  499. motd "This is the ur1cal TCP/IP Node. Please leave a message."
  500. #
  501. #---------------------------------------------------
  502. #
  503. # Announce our start up is complete and the time we took to do it.
  504. #
  505. status
  506. #
  507. #---------------------------------------------------
  508. #
  509. # THE END
  510. #
  511.